// 获取好友数据

// @ts-ignore
export async function execute(client_id, message_json) {
    let characters = G.Characters.get_current_login_characters(client_id);
    for (let index = 0; index < characters["好友数据"]["好友"].length; index++) {
        let element = characters["好友数据"]["好友"][index];
        element["在线"] = G.Characters.check_characters_online(element["id"]);
    }
    ClientUtils.send_client_message(client_id, 50, characters["好友数据"]);
}